package com.cxx.home.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cxx.framework.data.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("journal")
public class Journal extends AbstractEntity {
    @TableField("date")
    private Date date;

    @TableField(value = "location")
    private String location;

    @TableField(value = "category")
    private String category;

    @TableField(value = "weather")
    private String weather;

    @TableField("mood")
    private String mood;

    @TableField("content")
    private String content;

    @TableField("image_url")
    private String imageUrl;

    @TableField("video_url")
    private String videoUrl;
}
